#ifndef LINKVIEW_H
#define LINKVIEW_H

#include <views/abstractView.h>
#include <view3dinteractorstyle.h>
#include <QVector>
#include <QPoint>
#include <QAction>
#include <QMenu>
#include <QToolTip>

namespace Ui {
    class LinkView;
}

class LinkView : public AbstractView {
    Q_OBJECT

public:
    LinkView(QWidget *parent = 0);
    ~LinkView();
	void setInteractorStyle(View3DInteractorStyle *st);
	void setNetwork(FunctionalNetwork *net);

protected:
	void updateView();

protected slots:
	virtual void on_matrixChanged();
	inline void on_viewUpdateRequired() { updateView(); }
	void on_objectInfoRequested(const QPoint&,int,int);
	void on_selectionChanged(const QVector<int>&, AbstractView::SelectAction action);
	void on_selectionChanged(const QVector<QPoint> &links, AbstractView::SelectAction action);

private:
	vtkRenderer *renderer;
    Ui::LinkView *ui;
};

#endif // LINKVIEW_H
